package com.jastar.android.test.base.room.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class BookInfo {

    @PrimaryKey(autoGenerate = true)
    private int id;

    private String name;

    public BookInfo() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "BookInfo{" + "id=" + id + ", name='" + name + '\'' + '}';
    }

}
